Method and apparatus for solving simultaneous equations



METHOD AND APPARATUS'FORSOLVING 'A SIMULTANEOUS' EQUATIONS William H. Newell, Mount Vernon,

Sperry-Rand Corporation, Division, Loug- Delaware Application November 14,1955, Seal No.' $46,334 2 Claims. (Cl. 23S- 180) N.Y., assignor to Ford-Instrument Company Island City, N.Y., a corporation of This invention relates to a methodv and apparatus vfor solving simultaneous equations and` particularly to la method r and apparatus for solvingv simultaneous equations which are based on a principle of error nullication rather than elimination of variables.

In general, the invention proposes to provide'novel means for determining values for the independent variables in a system of equations by separately calculating thetotal errors in each of the equations and converting these errors to errors in the initially assumed values for the independent values which are continuously modified by the converted errors untilthetotal errors have been nulled.

Theproposed method and apparatus' for effecting the solutions Yis illustrated by application toa particular problem but the invention is not to be construed as limited to the disclosed instrumentation since the actual arrangement of thev error calculation and converting' sections of the computer will in each casedepend-on the problem to be solved and: the equationsrrequired for solution. A principle object of the inventionfistolprovide a method forfsolving for more than oneindepende'nt variable where there isv given more than one mathematical expression for the relation of the variables. Another object of the invention is to provde'a method and apparatusffor solving simultaneous equations which do not initially. require accurate `inputs for the independent variables due to the fact that .the solutions are madeiby nullng the errors arising from assumed values-for the variables. The accurate mechanismis therefore. confined to the error calculating portion of the device rthe function `of which is to mechanize the equations and determine: their errors. f The error converting mechanism is responsive to the errors and vdoes not require a high degree of accuracy since it ceases operation when' the errors have'beennulled. Hence, the' principle of operation-of the device departs from prior techniques involving elimination of variables andrequiring successive steps of performance. Still another objectof thefinventionisrto provide a partcularapparatus for solving shoranrproblems` requiring solution of simultaneous equationswhichf apparatus is described andillustrated' in theaccompanying drawings, in which Fig.` `l illustrates vthe shoran problem solved by the tdeviceyand Fig. 2 shows schematicallyfan embodiment adapted to make a solution of the problem.

The invention proposes to solve simultaneous equa- 'tions inmechanized form by obtainingthemechanized `error for each= equation andv transforming; this group of errors into errors for the quantities initially assumed for each variable, for example, assumek that simultaneous equations are to be solved such as (3) f3 (my )=0 y Patented Feb. 2, k119,60

2 s y If achof' thes'ieequatior'is" is mechanized directly and the instrument is .not at. the correct values then` whereex and ey ar'etheerrorsin tlie`corresponding'independent variables,l x and' y; an'dfei, egandv e3 are the'total Thusfthe total errors may'bje easily-l and accurately determined by means of vhighly accurate procedures for computer mechanizationffrotn Equations 4, 5 and 6I The .technique for transforming or convertingA the total errors to errors in the respective variables must conform to the solutions to the error `Equations 7, Sand 9 above and, therefore; zthe error transforming meohanismis predicated on themathematical solutionswto these'n equations. YThe solution of Equations7, 8 land 9y however need not require highly accurate components since `the answer even tually nulls itself. A typical problem capable of solution in accordance with Itheseprinciples:is-illustrated in Fig.-l. Shor-anstationsV land-Z arelocatedron the .base line ,H and their x and ycoordinates: x,J and yo for station 2 are known. The distance'R,".anitfkzvifromihe stations 1 and 2, respectively', are -also..known and it is desired `tofconvert R1 and-*R2 into frandy coordinates` in the same coordinatesystern. v

It is apparent that the: following relationships are true:

independent variables in `the.'llquationsx-.IO -and.l2 as follows:

3 t The errors e1 and e3, can be determined with accuracy. The distances R1V and R2 are fed to the square cam gears 3 and 4 on shafts 5 and 6`respectively. The output R1 of square` cam gear-3dsl placed ,into one,side of `differ.- entia17by meansofshaft'. t j,-

The initial instument values for the independent variables x and y'are servoed onshaft's9 and 10B, respectively, to square cam gears 9 and 10 @where theyare squared and placed into differentialvll on shafts 12 and 13respectively. The combined quantity 'x2 and .y'e'` is placed by shaft 1.4 into the other side of differential 7 which compares the two inputs, the output e1 being placed into the errortransformation sectionv ofuthedevice on shaft 15. l. t t

The Equation 12 is mechanizedas follows: shafts 9a and a4 are connected to shafts 16 and 17, respectively. The shafts 16 and 17 are in tum'connected to shafts 20 and 21, respectively; whichfaretprovided with suitable gearing `(not shown) whereby the variables are modified by the known coordinates x0 and yolfor station 2 to yield the quantities -2xx-lx2 and -Zyoy--yoz, respectively, which are fed to a differential 19. The output of the differential 19 is placed into a second differential 22 which u.

is also connected to shaft 14 and fed to a third differential 23 which compares the input with R22 on shaft 24 representing the output of. square cam gear 4. The outl put e3` of the differential 23 on shaft 25 represents the total error due to errors in the variables in the Equation l2. t Y i The total errors e1 and e2 are transformed into errors ex and e,1 for the variables x and y in accordance with the solutions to the simultaneous equations `for the errors as follows: Shafts 26 and 27 are in driven connection with shafts 16 and 17, respectively, and areemployed to feed the variables ,x and y into the error transformation section of the computer including the differential 28 and the potentiometers 29, 30, 31 and 32, respectively which bles to their electrical equivalents.

Suitable gearing (not shown) is provided between the shafts 26 and 27 andfthe differential 2 8 whereby the variable x is multiplied bythe constant coordinate y0 land the variable y is multiplied by the constant coordinate x0. The `differential output, which may be represented `by the quantity xoy-xyo, is placed into inverse potentiometer 35 on shaft 36. The potentiometer35, which yields anoutput which is a reciprocal of its input,

is referenced by a preselected voltage V and the output ltaneous equations for the errors. The variables x and y on the shafts 26 and 27 are converted to negative values and combined with the constants xo and y0, by means of gearing (not shown) which is inserted between the shafts `convert the assumed and corrected values for the variat 26 and 27 and the potentiometers 30 and 32 respectively. A second Ypotentiometer group including potentiometers 38, 39, 40 and 41,` is supplied electrically by the potentiometers 29, 39,` 31 Aand 32, respectively. The variable taps on the potentiometers 38 and 40 are controlled by the shaft 25 and the potentiometers 39 and 41 are similarly controlled by the shaft 15 whereby the total errors e1 and e2 are introduced into the error transformation section of the device according to the Equations 15 and 16 for the errors inthe variables. Electrical diferential 42 receives the outputs vof the potentiometers 38 and 39, algebraically combines them and introduces the combined quantity asv an error correction ey for the variable y to servo 43 by means of feedback line 44. Similarly electrical differential 45 receives the outputs of the potentiometers 40 and 41, algebraically combines .them t t nulled.

in accordance with the solutions to the simultaneous equations for the error, ex, and introduces the total asan error correction ex to servo 46 by means of a feed back t line 47. The servos 43 and 46 are adapted to modify the original instrument values for the variables x and y at a rate which is proportional to or a function of the error corrections eg andfe, respectively.

When thevariables are fully corrected and represent true solutionvalues, the total errors e1 and `e2 are reduced to zero andthe error computer sectionpof the computer t cordance with the recitations of the appended claims, in`

which:

What is claimed is:

f1. A computer for solving simultaneous 'equations having,more 'than `one independent variable comprising `a shaft settable .inV accordance with the solution .constants ,foreach of the equations, means for mechanizing each of the equations and yielding a solutiontfor each of the fequations basedV on assumed and later modified values for `their independent variables, comparison means connect-` ing thel shafts and equation mechanizing means `for determining,A the `total error in each of the equations,tmeans connected to said comparison means and said mechauiiing means for transforming said total errors into errors in the assumed values for` said independent variables',

and means connecting said transforming means to said -mechanzing` means for feeding back the transformed errors to the mechanizing means to modify the assumed values for the variables until the total errors have been 2. A computer for solving simultaneous equations havingmore than ,one independent variable comprising a shaft settable in' accordance with the solution ,constants4 1 for each ofthe equations, means for mechanizing each 'of lthe equations and yielding a solution for each ofthe equations based on assumed and later modified values for their independent variables, comparison means connecting the shafts and equation mechanizing means for determining the total error in each of the equations, means connected to' said comparison means and said mechanizing means for transforming said total errors into errors Vin the assumed values for `said independent variables, `and'means` connecting said transforming means to said mechanizing means for'feeding back the transformed errors to the equation mechanizing means to modify the assumed values `for the variables until the totalferrors have been nulled, said transforming means comprising .means for determining errors, ex and ey, in the `assumed values for the independent variables x and y, respectivefor dividing each' of the' numerator analogs by *the -denominator analog so as to generate the errors exand lbased onthe assumed and later modified-values for the variables x and y.

ReferencesCited in the file of this patent UNITED STATES PATENTS 2,455,974Y Brown Dec. 14, 1948 FOREIGN PATENTS 1,062,210 1=m1e t.--`-,---------- Dee. `2, 19513 

